<?php 
	$this->title = 'Page dacceuil';
	$this->headTitle($this->title);
?>

<h1>Résultat</h1>
<table class="table table-striped"   >
<thead><?php
 
		// Render each the title of each post for the current page in a list-item
	 
	foreach ($this->paginator as $item) {		   
		foreach ($item as $key => $value){?>
		<?php if(isset($this->headercolums[$key])){?>
			 <th><?php echo  $this->headercolums[$key];  ?> </th>
			<?php } }?>
			 
			<?php break;  }?>		
		</thead><tbody>
	
	<?php foreach ($this->paginator as $item) {	?>
		<tr>
		
		<?php  foreach ($item as $key => $value){?>
					<?php if(isset($this->headercolums[$key])){?>
					 
					<td><?php echo $value?></td>
		<?php }} ?>	
			
			</tr>
		<?php } ?>	
		
		<tr></tr>
		</tbody></table>

		<?php echo $this->paginator; ?>

